<div>
    <nav aria-label="Page navigation">
        <ul class="pagination pagination-sm">
            {{ data.page_str | safe }}
        </ul>
        <div style="height: 300px;"></div>
    </nav>
</div>